package com.lyh.dao;

import com.lyh.pojo.User;
import java.util.List;

public interface UserMapper {

    //查询所有用户
    public List<User> findAll() throws Exception;


    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;

    //根据用户ID更新用户名称
    public int updateUser(User user);

    int insertUser(User user);

    int deleteUser(User user);
}
